package com.yf.dxs.wo.req.msg;

import com.yf.dxs.wo.entity.WoGoodsMsgDO;
import com.yf.dxs.wo.entity.WoOrderMsgDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WoGoodsMsg {

    private Long goodsId;

    private Long vid;

    public WoGoodsMsgDO toEntity(){
        WoGoodsMsgDO entity = new WoGoodsMsgDO();
        entity.setGoodsId(goodsId);
        entity.setVid(vid);
        return entity;
    }

}
